class SearchJejuController < ApplicationController
	def index
		
	end
	
	def searchRestaurant
		@Restaurant = Restaurant.search("제주 " + params[:q] + " 음식점")
	end
	
	def searchWeather
		@Cheju = Weather.search("KSXX0004", params[:dayf])
		@ChejuUpper = Weather.search("KSXX0053", params[:dayf])
		@Seogwipo = Weather.search("KSXX0054", params[:dayf])
	end
	
	def searchForecast
		@Cheju = Weather.search("KSXX0004", params[:dayf])
		@ChejuUpper = Weather.search("KSXX0053", params[:dayf])
		@Seogwipo = Weather.search("KSXX0054", params[:dayf])		
	end
	
	def searchHotel
		@Hotel = Hotel.search("제주 " + params[:q] + " 숙박지" )
	end
	
	def searchResort
		@Resort = Resort.search("제주 " + params[:q] + " 관광지")
	end	
end
